package com.ly.blog2Word.dao;

import com.ly.blog2Word.dao.model.WordLabel;
import com.ly.blog2Word.dao.model.WordSearch;

import java.util.List;
import java.util.Map;

public interface WordSearchMapper {
    int deleteByPrimaryKey(Long id);

    int insert(WordSearch record);

    int insertSelective(WordSearch record);

    WordSearch selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(WordSearch record);

    int updateByPrimaryKeyWithBLOBs(WordSearch record);

    int updateByPrimaryKey(WordSearch record);

    List<WordSearch> findPage();

    List<Map<String,String>> findSearchList(String searchKey);

}